﻿using System;

namespace CCManger.Common.Message
{
    public delegate void CommandReceiveEvent(object sender, MessageEventArgs e);

    public delegate void MessageSendEvent(object sender, MessageEventArgs e);

    public delegate void MessageGroupSendEvent(object sender, MessageEventArgs e);

    public class MessageEventArgs : EventArgs
    {
        public MessageEventArgs(IMessage cmd) => CMD = cmd;

        public IMessage CMD { set; get; }
    }
}